﻿using System.ComponentModel.DataAnnotations;

namespace CommonManagement
{
    /// <summary>
    /// 重置密码数据传输对象
    /// </summary>
    public class UserResetPwdDto
    {
        [Display(Name = "新密码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string NewPassword { get; set; }

        [Display(Name = "旧密码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string OldPassword { get; set; }
    }
}